/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "每日计划",TableName = "DailyPlan")]
    public partial class DailyPlan:BaseEntity
    {
        /// <summary>
       ///主键
       /// </summary>
       [Key]
       [Display(Name ="主键")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int DailId { get; set; }

       /// <summary>
       ///计划编码
       /// </summary>
       [Display(Name ="计划编码")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string PlanCode { get; set; }

       /// <summary>
       ///订单编码
       /// </summary>
       [Display(Name ="订单编码")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string OrderCode { get; set; }

       /// <summary>
       ///工艺线路
       /// </summary>
       [Display(Name ="工艺线路")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string Line { get; set; }

       /// <summary>
       ///计划目标日期
       /// </summary>
       [Display(Name ="计划目标日期")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public DateTime TargetTime { get; set; }

       /// <summary>
       ///当日计划产量
       /// </summary>
       [Display(Name ="当日计划产量")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int Yield { get; set; }

       /// <summary>
       ///当日实际产量
       /// </summary>
       [Display(Name ="当日实际产量")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int Actual { get; set; }

       /// <summary>
       ///日次品数量
       /// </summary>
       [Display(Name ="日次品数量")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int Defective { get; set; }

       /// <summary>
       ///一次通过率
       /// </summary>
       [Display(Name ="一次通过率")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public decimal PassRate { get; set; }

       /// <summary>
       ///每件实际耗时
       /// </summary>
       [Display(Name ="每件实际耗时")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int ActualTake { get; set; }

       /// <summary>
       ///班组
       /// </summary>
       [Display(Name ="班组")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string Team { get; set; }

       /// <summary>
       ///早班开始时间
       /// </summary>
       [Display(Name ="早班开始时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? MorningshiftStarttim { get; set; }

       /// <summary>
       ///早班结束时间
       /// </summary>
       [Display(Name ="早班结束时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? MorningshiftEndtime { get; set; }

       /// <summary>
       ///早班 1 开始时间
       /// </summary>
       [Display(Name ="早班 1 开始时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? FirstmorningShiftStarttime { get; set; }

       /// <summary>
       ///早班 1 结束时间
       /// </summary>
       [Display(Name ="早班 1 结束时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? FirstmorningShiftEndtime { get; set; }

       /// <summary>
       ///中班开始时间
       /// </summary>
       [Display(Name ="中班开始时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? MiddleShiftStartTime { get; set; }

       /// <summary>
       ///中班结束时间
       /// </summary>
       [Display(Name ="中班结束时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? MiddleShiftEndTime { get; set; }

       /// <summary>
       ///中班 1 开始时间
       /// </summary>
       [Display(Name ="中班 1 开始时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? FirstmiddleShiftStartTim { get; set; }

       /// <summary>
       ///中班 1 结束时间
       /// </summary>
       [Display(Name ="中班 1 结束时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? FirstmiddleShiftEndTime { get; set; }

       /// <summary>
       ///晚班开始时间
       /// </summary>
       [Display(Name ="晚班开始时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? EveningShiftStartTime { get; set; }

       /// <summary>
       ///晚班结束时间
       /// </summary>
       [Display(Name ="晚班结束时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? EveningShiftEndTime { get; set; }

       /// <summary>
       ///晚班 1 开始时间
       /// </summary>
       [Display(Name ="晚班 1 开始时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? FirsteveningShiftStartTime { get; set; }

       /// <summary>
       ///晚班 1 结束时间
       /// </summary>
       [Display(Name ="晚班 1 结束时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? FirsteveningShiftEndTime { get; set; }

       /// <summary>
       ///标定每件耗时
       /// </summary>
       [Display(Name ="标定每件耗时")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int CalibratedTimePerPiece { get; set; }

       /// <summary>
       ///实际每件耗时
       /// </summary>
       [Display(Name ="实际每件耗时")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int ActualTimePerPiece { get; set; }

       
    }
}